import React from 'react'
import ReactDOM from 'react-dom/client'
import { RouterProvider } from "react-router-dom";
import { Provider } from 'react-redux';
import './assets/style/variables.less'
import router from "@/routers"
import store from "@/redux"
import { ConfigProvider } from 'antd';
import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';
import zh_CN from 'antd/locale/zh_CN';
dayjs.locale('zh-cn');

import 'amfe-flexible'

ReactDOM.createRoot(document.getElementById('root')).render(
  <ConfigProvider locale={zh_CN}>
    <Provider store={store}>
      <RouterProvider router={router} />
    </Provider>
  </ConfigProvider>,
)
